﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;

namespace FwProject.Restaurant.Dto
{
    [AutoMap(typeof(LoadCarRecovery))]
    public class LoadCarRecoveryDto : Entity<Guid>, ICreationAudited
    {
        [Display(Name = "装车编号")]
        public Guid LoadCarId { get; set; }
        [Display(Name = "餐厅编号")]
        public Guid RestaurantId { get; set; }
        [Display(Name = "型号编号")]
        public Guid TypeNumberInfoId { get; set; }
        [Display(Name = "配送编号")]
        public Guid DistributionInfoId { get; set; }

        [Display(Name = "回收箱数")]
        public int Recoverycount { get; set; } = 0;
        /// <summary>
        /// 折损
        /// </summary>
        /// <value>The damagecount.</value>
        [Display(Name = "折损套数")]
        public int Damagecount { get; set; } = 0;

        /// <summary>
        /// 退箱
        /// </summary>
        /// <value>The backboxcount.</value>
        [Display(Name = "退回箱数")]
        public int Backboxcount { get; set; } = 0;
        /// <summary>
        /// 退数
        /// </summary>
        /// <value>The backnumbercount.</value>
        [Display(Name = "退回套数")]
        public int Backnumbercount { get; set; } = 0;

        public long? CreatorUserId { get ; set ; }
        public DateTime CreationTime { get ; set ; }
    }
}
